LD=-DMYSELF #makefile 里面(命令行式的)的宏的写法

.PHONY:all
all:tcpServer tcpClient

tcpServer:tcpServer.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp #${LD}

tcpClient:tcpClient.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp #${LD}

.PHONY:clean
clean:
	rm -f tcpServer tcpClient
